const http = require('http')
const fs = require('fs')
const path = require('path')

http.createServer((req,res)=>{
    if(req.url=='/css/base.css'){
        fs.readFile(path.join(__dirname,"/css/base.css"),(err,data)=>{
            if(err){
                console.log(err)
            }else{
                console.log(data)
            }
        })
    }
}).listen(8084)
console.log("server is listening 8083")